package com.kaifamiao.N0716;

import java.util.Scanner;

    public class note2 {
        public static void main(String[] args) {

            Scanner sc = new Scanner(System.in);
            System.out.println("请输入年龄：");
            int age = sc.nextInt();

            String str = age >= 18 ? "你已经成年了" : "小屁孩";
            System.out.println(str);

        }
}
